<h1>Голосование</h1>

<table id=vote>
<tr>
	<td>
		<?php echo CHtml::form();?>
		<?php echo CHtml::hiddenField('voteFor',$items[0]->Id)?>
		<?php echo CHtml::hiddenField('voteAgainst',$items[1]->Id)?>
		<div><?php echo $items[0]->Image?></div>
		<div><?php echo $items[0]->Name?></div>
		<div><?php echo CHtml::submitButton();?></div>
		<?php echo CHtml::endForm();?>
	</td>
	<td>
		<?php echo CHtml::form();?>
		<?php echo CHtml::hiddenField('voteFor',$items[1]->Id)?>
		<?php echo CHtml::hiddenField('voteAgainst',$items[0]->Id)?>
		<div><?php echo $items[1]->Image?></div>
		<div><?php echo $items[1]->Name?></div>
		<div><?php echo CHtml::submitButton();?></div>
		<?php echo CHtml::endForm();?>
	</td>
</tr>
</table>